home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / dev / gcc / gcc270_src.lha / gcc-2.7.0-amiga / config / msdos / configur.bat next >
DOS Batch File  |  1994-12-20  |  1KB  |  34 lines

  1. @echo off
  2. echo Configuring GCC for go32
  3. rem This batch file assumes a unix-type "sed" program
  4.  
  5. if not exist config\msdos\configure.bat chdir ..\..
  6.  
  7. update config\i386\xm-dos.h config.h
  8. update config\i386\xm-dos.h hconfig.h
  9. update config\i386\xm-dos.h tconfig.h
  10. update config\i386\go32.h tm.h
  11. update config\i386\i386.md md
  12. update config\i386\i386.c aux-output.c
  13.  
  14. echo # Makefile generated by "configure.bat"> Makefile
  15. echo all.dos: cccp cc1 cc1obj xgcc libgcc.a s-objlist >> Makefile
  16. sed -f config/msdos/top.sed Makefile.in >> Makefile
  17.  
  18. set LANG=
  19.  
  20. if not exist cp\make-lang.in goto no_cp
  21. sed -f config/msdos/top.sed cp\make-lang.in >> Makefile
  22. sed -f config/msdos/top.sed cp\makefile.in > cp\Makefile
  23. set LANG=%LANG% c++.&    
  24. :no_cp
  25.  
  26. echo lang.mostlyclean: %LANG% | sed "s/&/mostlyclean/g" >> Makefile
  27. echo lang.clean: %LANG% | sed "s/&/clean/g" >> Makefile
  28. echo lang.distclean: %LANG% | sed "s/&/distclean/g" >> Makefile
  29. echo lang.realclean: %LANG% | sed "s/&/realclean/g" >> Makefile
  30.  
  31. echo #define MULTILIB_SELECT ". ;" > multilib.h1
  32. update multilib.h1 multilib.h
  33. del multilib.h1
  34.